package DataLayer.ImageDataContainer.ImageComponentsInfo;

import java.awt.Point;
import java.awt.geom.Line2D;
import java.util.ArrayList;
import org.w3c.dom.Document;

public interface IImageComponentsInfo {

    Document getImageComponentsInfo();

    void setImageComponentsInfo(int compInfo);

    public void addLines(ArrayList<Point> lines);

    public void addWords(ArrayList<ArrayList<Point>> words);

    public ArrayList<Point> getLines();

    public ArrayList<Line2D> getWords();

    public void addCharacterCoords(ArrayList<ArrayList<Point>> chars);

    public void insertWordInformationInImageComponents(String word, int wordID, ArrayList<Integer> charCoords);

    public void saveToFile(String fileName) throws Exception;

    public ArrayList<SingleCharImageInfo> getAllCharImageInfo();

    public String getRetreivedText();

    public void updateInformation();
}
